package com.cwl.admin.controller.monitor;

import com.cwl.common.core.controller.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: cwl-mgr
 * @description: druid 监控
 * @author: ChenWenLong
 * @create: 2019-09-02 10:29
 **/
@Controller
@RequestMapping("/monitor/data")
public class DruidController extends BaseController {

    private String prefix = "/monitor/druid";

    @RequiresPermissions("monitor:data:view")
    @GetMapping()
    public String index()
    {
        return redirect(prefix + "/index");
    }
}
